﻿Class Application

    ' Application-level events, such as Startup, Exit, and DispatcherUnhandledException
    ' can be handled in this file.
    Public Shared mArgs As String()
    Public Shared isAuto As Boolean

    Private Sub Application_Startup(sender As System.Object, e As System.Windows.StartupEventArgs)
        If e.Args IsNot Nothing AndAlso e.Args.Length > 0 Then
            mArgs = e.Args
            If e.Args(0) = "-auto" Then
                isAuto = True
            End If
        End If

    End Sub
End Class
